/**
 *====================================================
 * 文件名称: AbnormalInventoryEntity.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2015年11月21日			chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.project.entity;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuexunit.finance.project.entity.lexicon.AbnormalResultEnum;

/**
 * @ClassName: AbnormalInventoryEntity
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author chenxy
 * @date 2015年11月21日 下午1:01:30
 */
@Entity
@Table(name = "FIN_ABNORMAL_INVENTORY")
public class AbnormalInventoryEntity {

	/** 异常货箱ID */
	@Id
	@GeneratedValue
	@Column(name = "ABNORMAL_INVENTORY_ID")
	private Long abnormalInventoryId;

	/** 异常ID */
	@Column(name = "ABNORMAL_ID")
	private Long abnormalId;

	/** 货箱清单ID */
	@Column(name = "INVENTORY_ID")
	private Long inventoryId;

	/** 异常处理结果 0:未知/1:退货/2:换箱/3:调额度/4:已正常/5:处置 */
	@Column(name = "ABNORMAL_RESULT")
	private AbnormalResultEnum abnormalResult;

	/** 原融资额度 */
	@Column(name = "SOURCE_FINANCE_AMOUNT")
	private BigDecimal sourceFinanceAmount;

	/** 调整融资额度 */
	@Column(name = "TARGET_FINANCE_AMOUNT")
	private BigDecimal targetFinanceAmount;

	/** 原箱号 */
	@Column(name = "SOURCE_CASE_NUMBER")
	private String sourceCaseNumber;

	/** 原铅封号 */
	@Column(name = "SOURCE_FACING_SLIP")
	private String sourceFacingSlip;

	/** 原铅封号2 */
	@Column(name = "SOURCE_FACING_SLIP_NEXT")
	private String sourceFacingSlipNext;

	/** 调换箱号 */
	@Column(name = "TARGET_CASE_NUMBER")
	private String targetCaseNumber;

	/** 调换铅封号 */
	@Column(name = "TARGET_FACING_SLIP")
	private String targetFacingSlip;

	/** 调换铅封号2 */
	@Column(name = "TARGET_FACING_SLIP_NEXT")
	private String targetFacingSlipNext;

	/** 处理原因 */
	@Column(name = "RESON")
	private Integer reson;

	/** 处理时间 */
	@Column(name = "HANDLE_D8")
	private Integer handleDate;

	/** 处理说明 */
	@Column(name = "HANDLE_REMARK")
	private String handleRemark;

	/** 异常录音 */
	@Column(name = "SOUND_RECORDE")
	private String soundRecorde;

	/** 异常图片 */
	@Column(name = "ABNORMAL_FILE")
	private String abnormalFile;

	public Long getAbnormalInventoryId() {
		return abnormalInventoryId;
	}

	public void setAbnormalInventoryId(Long abnormalInventoryId) {
		this.abnormalInventoryId = abnormalInventoryId;
	}

	public Long getAbnormalId() {
		return abnormalId;
	}

	public void setAbnormalId(Long abnormalId) {
		this.abnormalId = abnormalId;
	}

	public Long getInventoryId() {
		return inventoryId;
	}

	public void setInventoryId(Long inventoryId) {
		this.inventoryId = inventoryId;
	}

	public AbnormalResultEnum getAbnormalResult() {
		return abnormalResult;
	}

	public void setAbnormalResult(AbnormalResultEnum abnormalResult) {
		this.abnormalResult = abnormalResult;
	}

	public BigDecimal getSourceFinanceAmount() {
		return sourceFinanceAmount;
	}

	public void setSourceFinanceAmount(BigDecimal sourceFinanceAmount) {
		this.sourceFinanceAmount = sourceFinanceAmount;
	}

	public BigDecimal getTargetFinanceAmount() {
		return targetFinanceAmount;
	}

	public void setTargetFinanceAmount(BigDecimal targetFinanceAmount) {
		this.targetFinanceAmount = targetFinanceAmount;
	}

	public String getSourceCaseNumber() {
		return sourceCaseNumber;
	}

	public void setSourceCaseNumber(String sourceCaseNumber) {
		this.sourceCaseNumber = sourceCaseNumber;
	}

	public String getSourceFacingSlip() {
		return sourceFacingSlip;
	}

	public void setSourceFacingSlip(String sourceFacingSlip) {
		this.sourceFacingSlip = sourceFacingSlip;
	}

	public String getSourceFacingSlipNext() {
		return sourceFacingSlipNext;
	}

	public void setSourceFacingSlipNext(String sourceFacingSlipNext) {
		this.sourceFacingSlipNext = sourceFacingSlipNext;
	}

	public String getTargetCaseNumber() {
		return targetCaseNumber;
	}

	public void setTargetCaseNumber(String targetCaseNumber) {
		this.targetCaseNumber = targetCaseNumber;
	}

	public String getTargetFacingSlip() {
		return targetFacingSlip;
	}

	public void setTargetFacingSlip(String targetFacingSlip) {
		this.targetFacingSlip = targetFacingSlip;
	}

	public String getTargetFacingSlipNext() {
		return targetFacingSlipNext;
	}

	public void setTargetFacingSlipNext(String targetFacingSlipNext) {
		this.targetFacingSlipNext = targetFacingSlipNext;
	}

	public Integer getReson() {
		return reson;
	}

	public void setReson(Integer reson) {
		this.reson = reson;
	}

	public Integer getHandleDate() {
		return handleDate;
	}

	public void setHandleDate(Integer handleDate) {
		this.handleDate = handleDate;
	}

	public String getHandleRemark() {
		return handleRemark;
	}

	public void setHandleRemark(String handleRemark) {
		this.handleRemark = handleRemark;
	}

	public String getSoundRecorde() {
		return soundRecorde;
	}

	public void setSoundRecorde(String soundRecorde) {
		this.soundRecorde = soundRecorde;
	}

	public String getAbnormalFile() {
		return abnormalFile;
	}

	public void setAbnormalFile(String abnormalFile) {
		this.abnormalFile = abnormalFile;
	}

}
